package top.huhuiyu.myforum.entity;

public class TbAdmin implements java.io.Serializable {
  private static final long serialVersionUID=5293179370477678024L;
  private java.lang.Integer aid; 
  private java.lang.String username; 
  private java.lang.String password; 
  private java.lang.String nickname; 
  private java.lang.String isEnable; 
  private java.util.Date created; 
  
  public TbAdmin() {
  }

  public TbAdmin(java.lang.Integer aid,java.lang.String username,java.lang.String password,java.lang.String nickname,java.lang.String isEnable,java.util.Date created) {
    this.aid = aid;
    this.username = username;
    this.password = password;
    this.nickname = nickname;
    this.isEnable = isEnable;
    this.created = created;
  }
  
  public void setAid (java.lang.Integer aid) {
    this.aid = aid;
  }
  
  public java.lang.Integer getAid() {
    return aid;
  }
    
  public void setUsername (java.lang.String username) {
    this.username = username;
  }
  
  public java.lang.String getUsername() {
    return username;
  }
    
  public void setPassword (java.lang.String password) {
    this.password = password;
  }
  
  public java.lang.String getPassword() {
    return password;
  }
    
  public void setNickname (java.lang.String nickname) {
    this.nickname = nickname;
  }
  
  public java.lang.String getNickname() {
    return nickname;
  }
    
  public void setIsEnable (java.lang.String isEnable) {
    this.isEnable = isEnable;
  }
  
  public java.lang.String getIsEnable() {
    return isEnable;
  }
    
  public void setCreated (java.util.Date created) {
    this.created = created;
  }
  
  public java.util.Date getCreated() {
    return created;
  }
    
  @Override
  public String toString() {
    return String.format("aid:%s,username:%s,password:%s,nickname:%s,isEnable:%s,created:%s",aid,username,password,nickname,isEnable,created);
  }
}
